package com.zbkc.util;

import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;

public class InputManagerUtil {

	public static void closeInput(EditText paramEditText) {
		((InputMethodManager) paramEditText.getContext().getSystemService(
				"input_method")).hideSoftInputFromWindow(
				paramEditText.getApplicationWindowToken(), 0);
	}

	public static void showInput(EditText paramEditText) {
		((InputMethodManager) paramEditText.getContext().getSystemService(
				"input_method")).toggleSoftInput(0, 2);
	}

}
